package com.gc.business.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gc.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 财务管理表 gc_financial_management
 * 
 * @author liujinteng
 * @date 2020-11-06
 */
@EqualsAndHashCode(callSuper = true)
@ToString
@Data
@Accessors(chain = true)
@TableName("gc_financial_management")
public class FinancialManagement extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long financialId;
	
    /**
    * 客户名称
    */
    private String clientName;
    /**
    * 签订合同名称
    */
    private String signContractName;
    /**
    * 合同金额
    */
    private String contractAmount;
    /**
    * 已收款金额
    */
    private String receiveAmount;
    /**
    * 未收款金额
    */
    private String uncollectAmount;
    /**
    * 签订日期
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String signDate;
}
